package org.elec.mac.service;


import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import org.elec.mac.mapper.SOrderMapper;
import org.elec.mac.entity.SOrder;

import java.util.List;
import java.util.Map;

/**
 * @Description:实现类
 * @author 
 * @version 1.0
 * @created 
 */
@Service
public class SOrderService extends BaseService<SOrder,SOrderMapper> implements InitializingBean {

	@Autowired
	private SOrderMapper sOrderMapper;
	
	public void afterPropertiesSet() throws Exception {
		this.setBaseMapper(sOrderMapper);
	}

	/**
	 *
	 * @return
	 */
	public List<Map<String, Object>> getOrderInfoList(Map<String, Object> param) {
		return sOrderMapper.getOrderInfoList(param);
	}
}
